﻿<UserControl x:Class="OptionsDemo.MyOptionsPane"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
	<Grid>
		<Grid.RowDefinitions>
			<RowDefinition Height="Auto"/>
			<RowDefinition Height="Auto"/>
		</Grid.RowDefinitions>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="Auto"/>
			<ColumnDefinition Width="*"/>
		</Grid.ColumnDefinitions>

		<Label>Your name:</Label>
		<TextBox Grid.Column="1" Text="{Binding Name}"/>
		<Label Grid.Row="1">Your age:</Label>
		<Slider Grid.Row="1" Grid.Column="1" Minimum="0" Maximum="100" Value="{Binding Age}" TickPlacement="BottomRight" AutoToolTipPlacement="BottomRight"/>
	</Grid>
</UserControl>
